package com.leadingsoft.pwxk.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.CentralPoint;
import com.leadingsoft.pwxk.repository.CentralPointRepository;
import com.leadingsoft.pwxk.service.CentralPointService;

@Service
public class CentralPointServiceImpl implements CentralPointService {

	@Autowired
	CentralPointRepository centralPointRepository;

	@Override
	public List<CentralPoint> get() {
		return centralPointRepository.findAll();
	}

}
